sessionID
Type
property
Summary
Specifies the identifier of the session to be started.
Syntax
set the sessionID to <sessionID>
Description
Use the sessionID property to set the identifier of the session to be started.
Use the sessionID property to set the identifier of the session to be started.
If the sessionID property is not set before starting a session, and the session cookie does not contain a session id, then a session id is automatically created.
If the current session has an automatically assigned id you can retrive it by getting the sessionID property.
You do not need to alter any of the session properties in order to start and use sessions. They provide a way for advanced users to configure the way session work.
The sessionID property is only available when running in CGI mode (Server).
Parameters
Name | Type | Description |
---|---|---|
sessionID | the string used as the session identifier |
Examples
set the sessionID to tMySessionID
set the sessionID to "SessionIdentifier"
Related
property: sessionSavePath, sessionLifetime, sessionName
Compatibility and Support
Introduced
LiveCode 5.0
OS
mac
windows
linux
Platforms
server